﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Processcheckout.aspx.cs"
    Inherits="user_processcheckout" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="container-reviewOrder">
        
        <p align="center"><asp:Label ID="lblMsg" runat="server"></asp:Label></p>
        <h4 style="background-color: #246B61; width: 700px;height: 20px;color: White">
            ORDERED ITEM
        </h4>
        <asp:GridView ID="grvCart" runat="server" AutoGenerateColumns="False" DataKeyNames="PdID"
            ShowFooter="True" Width="700px" EmptyDataText="&amp;nbspShopping cart empty"
            FooterStyle-HorizontalAlign="Right" CellPadding="4" CssClass="gridviewcart" OnRowDataBound="grvCart_RowDataBound"
            ForeColor="#333333" GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="ProductName" HeaderText="Product Name" />
                <asp:BoundField DataField="Quantity" HeaderText="Quantity" />
                <asp:BoundField DataField="UnitPrice" HeaderText="Unit Price" DataFormatString="{0:0.0.0} $" />
                <asp:BoundField DataField="TotalPrice" HeaderText="Total Price" DataFormatString="{0:0.0.0} $" />
            </Columns>
            <EditRowStyle BackColor="#7C6F57" />
            <FooterStyle HorizontalAlign="Right" BackColor="#1C5E55" Font-Bold="True" ForeColor="White">
            </FooterStyle>
            <HeaderStyle BackColor="#1C5E55" HorizontalAlign="Left" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        <br />
        <br />
        <br />
        <h4 style="background-color: #246B61; width: 700px;height: 20px; color: White;">
            SHIPPING INFORMATION</h4>
        <asp:DetailsView ID="DetailsViewOrder" runat="server" Height="50px" Width="700px"
            AutoGenerateRows="False" CellPadding="4" ForeColor="#333333" GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <CommandRowStyle BackColor="#C5BBAF" Font-Bold="True" />
            <EditRowStyle BackColor="#7C6F57" />
            <FieldHeaderStyle BackColor="#D0D0D0" Font-Bold="True" />
            <Fields>
                <asp:BoundField DataField="od_shipping_firstname" HeaderText="First Name" />
                <asp:BoundField DataField="od_shipping_lastname" HeaderText="Last Name" SortExpression="od_shipping_lastname" />
                <asp:BoundField DataField="od_shipping_email" HeaderText="Email" SortExpression="od_shipping_email" />
                <asp:BoundField DataField="od_shipping_address" HeaderText="Address" SortExpression="od_shipping_address" />
                <asp:BoundField DataField="od_shipping_phone" HeaderText="Phone" SortExpression="od_shipping_phone" />
                <asp:BoundField DataField="od_shipping_state" HeaderText="State" SortExpression="od_shipping_state" />
                <asp:BoundField DataField="od_shipping_city" HeaderText="City" SortExpression="od_shipping_city" />
                <asp:BoundField DataField="od_shipping_zipcode" HeaderText="ZipCode" SortExpression="od_shipping_zipcode" />
            </Fields>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
        </asp:DetailsView>
        <br />
        <br />
        <br />
        <h4 style="background-color: #246B61; width: 700px;height: 20px; color: White;">
            PAYMENT INFORMATION</h4>
        <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="700px" 
            AutoGenerateRows="False" CellPadding="4" ForeColor="#333333" GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <CommandRowStyle BackColor="#C5BBAF" Font-Bold="True" />
            <EditRowStyle BackColor="#7C6F57" />
            <FieldHeaderStyle BackColor="#D0D0D0" Font-Bold="True" />
            <Fields>
                <asp:BoundField DataField="od_payment_name" HeaderText="Name" 
                    SortExpression="od_payment_name" />
                <asp:BoundField DataField="od_payment_cardtype" HeaderText="Card type" 
                    SortExpression="od_payment_cardtype" />
                <asp:BoundField DataField="od_payment_cardnum" HeaderText="Card number" 
                    SortExpression="od_payment_cardnum" />
                <asp:BoundField DataField="od_payment_expridate" HeaderText="Expridate" 
                    SortExpression="od_payment_expridate" />
            </Fields>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
        </asp:DetailsView>
        <br />
        <br />
        </div>
        <div style="text-align:center">
            <asp:LinkButton ID="LinkButton1" runat="server" 
                PostBackUrl="~/user/default.aspx">>>Home Page</asp:LinkButton>
        </div>
    </form>
</body>
</html>

